package com.account.book.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author liang-hw
 * @className BookUserQueryVo
 * @description 账本下的用户列表响应实体
 * @date 2023/11/11 14:51:28
 */
@Data
@ApiModel(value = "账本下的用户列表响应实体", description = "账本下的用户列表响应实体")
public class BookUserQueryVo {

    @ApiModelProperty("系统id")
    private String id;

    @ApiModelProperty("账本id")
    private String bookId;

    @ApiModelProperty("账本名称")
    private String bookName;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("头像地址")
    private String avatarUrl;

    @ApiModelProperty("否是默认账本(0-否，1是）")
    private Integer defaultBook;

    @ApiModelProperty("真实姓名")
    private String userName;

    @ApiModelProperty("用户别名")
    private String reallyName;

    @ApiModelProperty("预算-元")
    private BigDecimal budget;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("更新人")
    private String updateBy;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty("0-成员，1-管理员,2群主")
    private Integer auth;

    @ApiModelProperty("加入账本描述备注")
    private String remark;
}
